MAYBE 4.026
↳ HASKELL
↳ BR
((enumFromThenTo :: Bool -> Bool -> Bool -> [Bool]) :: Bool -> Bool -> Bool -> [Bool]) |
import qualified Prelude |
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
((enumFromThenTo :: Bool -> Bool -> Bool -> [Bool]) :: Bool -> Bool -> Bool -> [Bool]) |
import qualified Prelude |
undefined
| False
= undefined
undefined = undefined1
undefined0 True = undefined
undefined1 = undefined0 False
p
| n' >= n
= flip (<=) m | otherwise
= flip (>=) m
p = p2
p0 True = flip (>=) m
p1 True = flip (<=) m p1 False = p0 otherwise
p2 = p1 (n' >= n)
takeWhile p [] = [] takeWhile p (x : xs)
| p x
= x : takeWhile p xs | otherwise
= []
takeWhile p [] = takeWhile3 p [] takeWhile p (x : xs) = takeWhile2 p (x : xs)
takeWhile1 p x xs True = x : takeWhile p xs takeWhile1 p x xs False = takeWhile0 p x xs otherwise
takeWhile0 p x xs True = []
takeWhile2 p (x : xs) = takeWhile1 p x xs (p x)
takeWhile3 p [] = [] takeWhile3 wv ww = takeWhile2 wv ww
toEnum 0 = False toEnum 1 = True
toEnum wy = toEnum3 wy toEnum wx = toEnum1 wx
toEnum0 True wx = True
toEnum1 wx = toEnum0 (wx == 1) wx
toEnum2 True wy = False toEnum2 wz xu = toEnum1 xu
toEnum3 wy = toEnum2 (wy == 0) wy toEnum3 xv = toEnum1 xv
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
((enumFromThenTo :: Bool -> Bool -> Bool -> [Bool]) :: Bool -> Bool -> Bool -> [Bool]) |
import qualified Prelude |
takeWhile p (numericEnumFromThen n n') where
p = p2
p0 True = flip (>=) m
p1 True = flip (<=) m p1 False = p0 otherwise
p2 = p1 (n' >= n)
numericEnumFromThenToP2 xw xx xy = numericEnumFromThenToP1 xw xx xy (xw >= xx)
numericEnumFromThenToP1 xw xx xy True = flip (<=) xy numericEnumFromThenToP1 xw xx xy False = numericEnumFromThenToP0 xw xx xy otherwise
numericEnumFromThenToP xw xx xy = numericEnumFromThenToP2 xw xx xy
numericEnumFromThenToP0 xw xx xy True = flip (>=) xy
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
((enumFromThenTo :: Bool -> Bool -> Bool -> [Bool]) :: Bool -> Bool -> Bool -> [Bool]) |
import qualified Prelude |
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ Narrow
(enumFromThenTo :: Bool -> Bool -> Bool -> [Bool]) |
import qualified Prelude |
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ AND
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ QDP
↳ Narrow
new_map(xz7, ba) → new_map(xz7, ba)
new_map(xz7, ba) → new_map(xz7, ba)
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ AND
↳ QDP
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ Narrow
new_map0 → new_map0
new_map0 → new_map0
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ NonTerminationProof
↳ Narrow
new_map1 → new_map1
new_map1 → new_map1
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ Narrow
↳ AND
↳ QDP
↳ NonTerminationProof
↳ QDP
↳ QDP
↳ QDP
new_map0([]) → new_map0([])
new_map0([]) → new_map0([])
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ Narrow
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ Narrow
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
new_map1([]) → new_map1([])
↳ HASKELL
↳ BR
↳ HASKELL
↳ COR
↳ HASKELL
↳ LetRed
↳ HASKELL
↳ NumRed
↳ HASKELL
↳ Narrow
↳ Narrow
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP